<div class="shops index">
    <h2><?php echo __('Shops'); ?></h2>
    <table cellpadding="0" cellspacing="0">
        <tr>
            <th><?php echo $this->Paginator->sort('id'); ?></th>
            <th><?php echo $this->Paginator->sort('name'); ?></th>
            <th><?php echo $this->Paginator->sort('address'); ?></th>
            <th class="actions"><?php echo __('Actions'); ?></th>
        </tr>
        <?php foreach ($shops as $shop): ?>
            <tr>
                <td><?php echo h($shop['Shop']['id']); ?>&nbsp;</td>
                <td><?php echo h($shop['Shop']['name']); ?>&nbsp;</td>
                <td><?php echo h($shop['Shop']['address']); ?>&nbsp;</td>
                <td class="actions">
                    <?php echo $this->Html->link(__('View'), array('action' => 'view', $shop['Shop']['id'])); ?>
                    <?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $shop['Shop']['id'])); ?>
                    <?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $shop['Shop']['id']), null, __('Are you sure you want to delete # %s?', $shop['Shop']['id'])); ?>
                </td>
            </tr>
        <?php endforeach; ?>
    </table>
    <?php echo $this->element('footer/paginator') ?>

</div>
<div class="actions">
    <h3><?php echo __('Actions'); ?></h3>
    <ul>
        <li><?php echo $this->Html->link(__('New Shop'), array('action' => 'add')); ?></li>
        <li><?php echo $this->Html->link(__('List H Products'), array('controller' => 'h_products', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New H Product'), array('controller' => 'h_products', 'action' => 'add')); ?> </li>
        <li><?php echo $this->Html->link(__('List Sales'), array('controller' => 'sales', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New Sale'), array('controller' => 'sales', 'action' => 'add')); ?> </li>
        <li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
        <li><?php echo $this->Html->link(__('List Product Shops'), array('controller' => 'product_shops', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New Product Shop'), array('controller' => 'product_shops', 'action' => 'add')); ?> </li>
    </ul>
</div>
